<%--
  Created by IntelliJ IDEA.
  User: oldliu
  Date: 2021/1/21
  Time: 17:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@page import="cn.java71.*" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
 <%
     Student stu=new Student();
     stu.setNo(1000L);
     stu.setName("张威豹");
     stu.setHobby("学习，再学习");
 %>
<h1 style="box-shadow: 5px 5px 4px  red;height: 500px;"><%=stu%></h1>
<div>
    <ul>
        <%
            String[]ar={"豹哥","王子建","加强哥","干昭陵"};
            for(String s1:ar){
               out.print("<li>"+s1+"</li>");
            }%>
    </ul>
</div>
</body>
</html>
